<div>
  <div style="overflow: auto;" class="GridView">
    <div style="overflow: auto;" class="GridView" id="SearchFilterListView">
      <div>
        <div style="" class="TitleBarView">
          <h1><?php echo $this->navText;?></h1>
        </div>
      </div>
<div>
  <div style="overflow: auto;" class="SecuredEditAndDetailsView EditAndDetailsView DetailsView ModelView ConfigurableMetadataView MetadataView" id="LeadEditAndDetailsView">
    <div class="wide form">
        <?php $form=$this->beginWidget('CActiveForm', array(
                'id'=>'chapter-create-form',
                'enableAjaxValidation'=>false,
        )); ?>
      <div class="view-toolbar">
          <?php echo CHtml::link('取消', array('index', 'bookFlag'=>$book->nameFlag));?>&nbsp;|&nbsp;
          <?php echo CHtml::submitButton('保存'); ?>
        </div>
        <table>
          <colgroup>
          <col style="width:20%">
          <col style="width:30%">
          <col style="width:20%">
          <col style="width:30%">
          </colgroup>
          <tbody>
            <tr>
              <th><?php echo $form->labelEx($chapter,'chapterName'); ?></th>
              <td colspan="1"><?php echo $form->textField($chapter,'chapterName'); ?><?php echo $form->error($chapter,'chapterName'); ?></td>
              <th><?php echo $form->labelEx($chapter,'originalChapterName'); ?></th>
              <td colspan="1"><?php echo $form->textField($chapter,'originalChapterName'); ?><?php echo $form->error($chapter,'originalChapterName'); ?></td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($chapter,'url'); ?></th>
              <td colspan="1"><?php echo $form->textField($chapter,'url'); ?><?php echo $form->error($chapter,'url'); ?></td>
              <th><?php echo $form->labelEx($chapter,'chapterSort'); ?></th>
              <td colspan="1"><?php echo $form->textField($chapter,'chapterSort',array('size'=>5,'maxlength'=>5)); ?> 数据越大越靠前<?php echo $form->error($chapter,'chapterSort'); ?></td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($chapter,'isFirst'); ?></th>
              <td colspan="1"><?php echo CHtml::dropDownList(get_class($chapter).'[isFirst]', $chapter->isFirst, array('否','是'));?></td>
              <th><?php echo $form->labelEx($chapter,'isEnd'); ?></th>
              <td colspan="1"><?php echo CHtml::dropDownList(get_class($chapter).'[isEnd]', $chapter->isEnd, array('否','是'));?></td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($chapter,'metaKeywords'); ?></th>
              <td colspan="1"><?php echo $form->textArea($chapter,'metaKeywords', array('rows'=>5, 'cols'=>40)); ?> <?php echo $form->error($chapter,'metaKeywords'); ?></td>
              <th><?php echo $form->labelEx($chapter,'metaDescription'); ?></th>
              <td colspan="1"><?php echo $form->textArea($chapter,'metaDescription', array('rows'=>5, 'cols'=>40)); ?> <?php echo $form->error($chapter,'metaDescription'); ?></td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($chapter,'isShow'); ?></th>
              <td colspan="1"><?php echo CHtml::dropDownList(get_class($chapter).'[isShow]', $chapter->isShow, array('否','是'));?></td>
              <th><?php echo $form->labelEx($chapter,'sectionShow'); ?></th>
              <td colspan="1"><?php echo CHtml::dropDownList(get_class($chapter).'[sectionShow]', $chapter->sectionShow, array('否','是'));?></td>
            </tr>
            <tr>
              <th>锁定相关</th>
              <td colspan="3">
              	<?php echo $form->labelEx($chapter,'isAddLock'); ?><?php echo CHtml::dropDownList(get_class($chapter).'[isAddLock]', $chapter->isAddLock, array('否','是'));?><br />
              	
              	<?php echo $form->labelEx($chapter,'isTypeLock'); ?><?php echo CHtml::dropDownList(get_class($chapter).'[isTypeLock]', $chapter->isTypeLock, array('否','是'));?><br />
              	<?php echo $form->labelEx($chapter,'isUpdateLock'); ?><?php echo CHtml::dropDownList(get_class($chapter).'[isUpdateLock]', $chapter->isUpdateLock, array('否','是'));?><br />
              	<?php echo $form->labelEx($chapter,'isSortLock'); ?><?php echo CHtml::dropDownList(get_class($chapter).'[isSortLock]', $chapter->isSortLock, array('否','是'));?><br />
              	<?php echo $form->labelEx($chapter,'isTranslateLock'); ?><?php echo CHtml::dropDownList(get_class($chapter).'[isTranslateLock]', $chapter->isTranslateLock, array('否','是'));?>
              	
              </td>
            </tr>
          </tbody>
        </table>
    </div>
    <?php $this->endWidget(); ?>
  </div>
</div>
</div></div></div>
